package com.heima.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.article.dtos.ArticleHomeDto;
import com.heima.model.article.pojos.ApArticle;
import org.apache.commons.net.nntp.Article;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Gareth Cao
 * @date 2022/6/12 18:28
 */
public interface ArticleMapper extends BaseMapper<ApArticle> {

    List<Article> load(@Param("dto") ArticleHomeDto dto, @Param("type") Integer type);
}
